package com.hangkong.model;

import java.util.Date;
import java.util.List;

public class Flight {
    private String id;

    private String flightno;

    private String deptcity;

    private String arrcity;

    private Date flightdate;

    private String flightday;

    private Date createdate;

    private Date updatedate;

    private Integer version;

    private List<Flightcabin> flightcabins;

    private Flightcabin flightcabin;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getFlightno() {
        return flightno;
    }

    public void setFlightno(String flightno) {
        this.flightno = flightno == null ? null : flightno.trim();
    }

    public String getDeptcity() {
        return deptcity;
    }

    public void setDeptcity(String deptcity) {
        this.deptcity = deptcity == null ? null : deptcity.trim();
    }

    public String getArrcity() {
        return arrcity;
    }

    public void setArrcity(String arrcity) {
        this.arrcity = arrcity == null ? null : arrcity.trim();
    }

    public Date getFlightdate() {
        return flightdate;
    }

    public void setFlightdate(Date flightdate) {
        this.flightdate = flightdate;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getFlightday() {
        return flightday;
    }

    public void setFlightday(String flightday) {
        this.flightday = flightday;
    }

    public List<Flightcabin> getFlightcabins() {
        return flightcabins;
    }

    public void setFlightcabins(List<Flightcabin> flightcabins) {
        this.flightcabins = flightcabins;
    }

    public Flightcabin getFlightcabin() {
        return flightcabin;
    }

    public void setFlightcabin(Flightcabin flightcabin) {
        this.flightcabin = flightcabin;
    }
}